<p style="padding-left: 2rem;color: red">总人数：{$all_num} 人</p>
<table class="table table-striped">
    <thead>
    <tr>
        <td>ID</td>
        <td>手机【姓名】</td>
        <td>头像</td>
        <td>黑名单</td>
        <td>注册时间</td>
    </tr>
    </thead>
    <tbody>
    {volist name="list" id="item"}
    <tr>
        <td>{$item.id}</td>
        <td>
            <p>
                <label class="label label-danger">{$item.mobile}</label>
            </p>
            <p>
                <label class="label label-info">{$item.nick_name}</label>
            </p>
        </td>
        <td>
            <a href="javascript:void(0);" onclick="ejectImg('{$item.avatar|default='/static/default_avatar.png'}','{$item.nick_name}头像');">
                <img src="{$item.avatar|default='/static/default_avatar.png'}" style="width: 60px;height: 60px;">
            </a>
        </td>

        <td>
            {if condition="$item.in_blacklist==1"}
            <label class="label label-danger">已拉黑</label>
            {else/}
            <label class="label label-success">未拉黑</label>
            {/if}
        </td>
        <td>{$item.create_time|show_datetime}</td>

    </tr>
    {/volist}
    </tbody>
</table>


